//
//  GJSegmentControl.h
//  YDGJ
//
//  Created by 黄卫 on 17/2/24.
//  Copyright © 2017年 huangwei. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface GJSegmentControl : UIView

+ (instancetype)segmentControlWithTitles:(NSArray *)titles selectedBlock:(void(^)(NSInteger))selectedBlk;

- (void)clickButtonAtIndex:(NSInteger)index;

@end
